package pe.gob.mef.snip.preinversion.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import pe.gob.mef.snip.preinversion.dao.mybatis.MetaBancoMapperDAO;
import pe.gob.mef.snip.preinversion.domain.MetaBanco;
import pe.gob.mef.snip.preinversion.service.MetaBancoService;

@Service
public class MetaBancoServiceImpl implements MetaBancoService{
	
	@Autowired
	private MetaBancoMapperDAO metaBancoMapperDAO;
	
	public void insertar(MetaBanco metaBanco) {
		metaBancoMapperDAO.insertar(metaBanco);

	}

	public void actualizar(MetaBanco metaBanco) {
		metaBancoMapperDAO.actualizar(metaBanco);
	}

	public void eliminar(MetaBanco metaBanco) {
		metaBancoMapperDAO.eliminar(metaBanco);
		
	}
	
	public MetaBanco obtener(MetaBanco metaBanco) {
		 return metaBancoMapperDAO.obtener(metaBanco);
		
	}

	public List<MetaBanco> listar(MetaBanco metaBanco) {
		 return metaBancoMapperDAO.listar(metaBanco);
	}
}
